package com.bonc.situation.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bonc.situation.mapper.TestMapper;
import com.bonc.situation.service.TestService;
import com.bonc.situation.vo.TestBean;
@Service
public class TestServiceImpl implements TestService {
	private final static Logger logger = LoggerFactory.getLogger(TestServiceImpl.class);
	@Autowired
	private TestMapper mapper;
	@Override
	public TestBean getByCityId(String id) {
		logger.info("查询");
		return mapper.getById(id);
	}
}
